Masteriyo\Addons\Certificate\CertificateAddon B

Total Complexity 94
Dependencies 10
Dependents 0
Total lines 740
Lines of code 426
Logical lines of code 195
Comment lines 213
Methods 27
Properties 2

Methods 27

Method Rating Maintainability Complexity Lines of code
handle_certificate_preview()
A
50 15 25
handle_certificate_share_preview()
A
48 13 31
handle_certificate_download()
A
49 9 30
render_certificate_share_for_single_course_page()
A
49 7 33
add_certificate_share_popup_modal()
A
50 7 31
add_localization_to_admin_scripts()
S
47 4 40
localize_learn_page_scripts()
S
59 5 14
save_certificate_data()
S
60 4 13
enqueue_scripts()
S
57 3 16
append_certificate_data()
S
58 3 15
get_certificate_editor_typography_config()
S
52 2 26
add_course_certificate_schema()
S
48 1 41
load_block_editor_scripts_styles()
S
56 2 17
get_course_id_by_name()
S
63 2 11
init_hooks()
S
53 1 21
instance()
S
71 2 6
register_rest_routes()
S
72 2 6
change_default_certificate_editor_title()
S
70 2 6
get_certificate_fonts_css()
S
63 2 10
add_submenus()
S
62 1 13
register_post_types()
S
76 1 4
__construct()
S
98 1 1
add_certificate_share_query_vars()
S
71 1 6
init()
S
74 1 5
__wakeup()
S
98 1 1
__clone()
S
98 1 1
is_email_schedule_enabled()
S
80 1 3